﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;

namespace AirDrive.Companion
{
    class Drive
    {
        public string Name { get; set; }
        public IPEndPoint Endpoint { get; set; }
        public DateTime LastHeartbeat { get; set; }

        public Drive(string name, IPEndPoint endpoint)
        {
            Name = name;
            Endpoint = endpoint;
            LastHeartbeat = DateTime.Now;
        }
    }
}
